package com.drakulo.games.ais.core.building;

import java.util.HashMap;
import java.util.Map;

/**
 * This class contains informations about a building
 * 
 * @author Drakulo
 * 
 */
public class BuildingData {
	/**
	 * An entry of this map represents level info of a building : level -> data
	 */
	Map<Integer, BuildingLevelData> data;

	public BuildingData() {
		this.data = new HashMap<Integer, BuildingLevelData>();
	}

	public void putData(Integer level, BuildingLevelData levelData) {
		this.data.put(level, levelData);
	}

	public BuildingLevelData getLevelData(Integer level) {
		return this.data.get(level);
	}

	public Map<Integer, BuildingLevelData> getLevelData() {
		return this.data;
	}
}
